<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>
            X-admin v1.0
        </title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="format-detection" content="telephone=no">
        <link rel="stylesheet" href="__STATIC__/admin/css/x-admin.css" media="all">
    </head>
    <body>
        <div class="x-nav">
            <span class="layui-breadcrumb">
              <a><cite>首页</cite></a>
              <a><cite>系统设置</cite></a>
              <a><cite>网站设置</cite></a>
            </span>
            <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right"  href="javascript:location.replace(location.href);" title="刷新"><i class="layui-icon" style="line-height:30px">ဂ</i></a>
        </div>
        <div class="x-body">
            <form class="layui-form" action="" method="post">
                <div class="layui-form-item">
                    <label class="layui-form-label">网站开关</label>
                    <div class="layui-input-block">
                        <input type="radio" name="web_open" value="1" title="开启" {if condition="$data.web_open eq 1"} checked {/if}>
                        <input type="radio" name="web_open" value="2" title="关闭" {if condition="$data.web_open neq 1"} checked {/if}>
                    </div>
                </div>
                <div class="layui-form-item layui-form-text">
                    <label class="layui-form-label">关闭公告</label>
                    <div class="layui-input-block">
                        <textarea name="web_text" placeholder="请输入内容" class="layui-textarea">{$data.web_text}</textarea>
                    </div>
                </div>
                <!--<div class="layui-form-item">-->
                    <!--<label class="layui-form-label">总投注</label>-->
                    <!--<div class="layui-input-block">-->
                        <!--<input type="radio" name="total_bet" value="1" title="开启" {if condition="$data.total_bet eq 1"} checked {/if}>-->
                        <!--<input type="radio" name="total_bet" value="2" title="关闭" {if condition="$data.total_bet neq 1"} checked {/if}>-->
                    <!--</div>-->
                <!--</div>-->
                <!--<div class="layui-form-item">-->
                    <!--<label class="layui-form-label">代理投注</label>-->
                    <!--<div class="layui-input-block">-->
                        <!--<input type="radio" name="agent_bet" value="1" title="开启" {if condition="$data.agent_bet eq 1"} checked {/if}>-->
                        <!--<input type="radio" name="agent_bet" value="2" title="关闭" {if condition="$data.agent_bet neq 1"} checked {/if}>-->
                    <!--</div>-->
                <!--</div>-->
                <!--<div class="layui-form-item">-->
                    <!--<label class="layui-form-label">上级充值</label>-->
                    <!--<div class="layui-input-block">-->
                        <!--<input type="radio" name="charge" value="1" title="开启" {if condition="$data.charge eq 1"} checked {/if}>-->
                        <!--<input type="radio" name="charge" value="2" title="关闭" {if condition="$data.charge neq 1"} checked {/if}>-->
                    <!--</div>-->
                <!--</div>-->
                <div class="layui-form-item">
                    <label class="layui-form-label">开奖模式</label>
                    <div class="layui-input-block">
                        <input type="radio" name="code_style" value="1" title="杀大赔小" {if condition="$data.code_style eq 1"} checked {/if}>
                        <!--<input type="radio" name="code_style" value="2" title="2%盈利" {if condition="$data.code_style eq 2"} checked {/if}>-->
                        <input type="radio" name="code_style" value="3" title="随机" {if condition="$data.code_style eq 3"} checked {/if}>
                        <!--<input type="radio" name="code_style" value="4" title="100%盈利" {if condition="$data.code_style eq 4"} checked {/if}>-->
                        <!--<input type="radio" name="code_style" value="5" title="通杀" {if condition="$data.code_style eq 5"} checked {/if}>-->
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">彩票价格</label>
                    <div class="layui-input-inline">
                        <input type="text" name="code_money" required lay-verify="required"  autocomplete="off" class="layui-input" value="{$data.code_money}">
                    </div>
                    <div class="layui-form-mid layui-word-aux">元</div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">赔率</label>
                    <div class="layui-input-inline">
                        <input type="text" name="odds" required lay-verify="required"  autocomplete="off" class="layui-input" value="{$data.odds}">
                    </div>
                    <div class="layui-form-mid layui-word-aux">倍</div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">返点最大值</label>
                    <div class="layui-input-inline">
                        <input type="text" name="return_max" required lay-verify="required"  autocomplete="off" class="layui-input" value="{$data.return_max}">
                    </div>
                    <div class="layui-form-mid layui-word-aux">%</div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">上下级返点差</label>
                    <div class="layui-input-inline">
                        <input type="text" name="return_min" required lay-verify="required"  autocomplete="off" class="layui-input" value="{$data.return_min}">
                    </div>
                    <div class="layui-form-mid layui-word-aux">%</div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">充值最小</label>
                    <div class="layui-input-inline">
                        <input type="text" name="charge_min" required lay-verify="required"  autocomplete="off" class="layui-input" value="{$data.charge_min}">
                    </div>
                    <div class="layui-form-mid layui-word-aux"></div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">充值最大</label>
                    <div class="layui-input-inline">
                        <input type="text" name="charge_max" required lay-verify="required"  autocomplete="off" class="layui-input" value="{$data.charge_max}">
                    </div>
                    <div class="layui-form-mid layui-word-aux"></div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">提现最小</label>
                    <div class="layui-input-inline">
                        <input type="text" name="drawmoney_min" required lay-verify="required"  autocomplete="off" class="layui-input" value="{$data.drawmoney_min}">
                    </div>
                    <div class="layui-form-mid layui-word-aux"></div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">提现最大</label>
                    <div class="layui-input-inline">
                        <input type="text" name="drawmoney_max" required lay-verify="required"  autocomplete="off" class="layui-input" value="{$data.drawmoney_max}">
                    </div>
                    <div class="layui-form-mid layui-word-aux"></div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">清理账号</label>
                    <div class="layui-form-mid layui-word-aux">账号余额低于</div>
                    <div class="layui-input-inline" style="width: 80px">
                        <input type="text" name="clear_user_money" required lay-verify="required"  autocomplete="off" class="layui-input" value="{$data.clear_user_money}" >
                    </div>
                    <div class="layui-form-mid layui-word-aux">且</div>
                    <div class="layui-input-inline" style="width: 80px">
                        <input type="text" name="clear_user_time" required lay-verify="required"  autocomplete="off" class="layui-input" value="{$data.clear_user_time}">
                    </div>
                    <div class="layui-form-mid layui-word-aux">天未上线</div>
                    <div class="layui-form-mid layui-word-aux"><a href="{:url('config/clearUser')}?money={$data.clear_user_money}&time={$data.clear_user_time}" style="color: #1E9FFF">清理账号</a></div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                    </div>
                </div>
            </form>

        </div>
        <script src="__STATIC__/admin/lib/layui/layui.js" charset="utf-8"></script>
        <script src="__STATIC__/admin/js/x-layui.js" charset="utf-8"></script>
        <script>
            layui.use(['element','layer','form'], function(){
                $ = layui.jquery;//jquery
              lement = layui.element();//面包导航
              layer = layui.layer;//弹出层
              form = layui.form()
            

              })
        </script>
        <script>
        var _hmt = _hmt || [];
        (function() {
          var hm = document.createElement("script");
          hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
          var s = document.getElementsByTagName("script")[0]; 
          s.parentNode.insertBefore(hm, s);
        })();
        </script>
    </body>
</html>